package com.showgood.vo;
import flash.utils.ByteArray;
import java.io.IOException;
public class ManVO extends BaseVO {
public int id;
public String name;
public short role;
public short tong;
public short yong;
public short zhi;
public short status;
public short avatar;
public short story;
public short official;
public String familyName;
public String secondName;
public String thirdName;
public String nickName;
@Override
public int getVid() { return 6; }
@Override public void pack(ByteArray b) throws IOException {
super.pack(b);
b.writeInt(this.id);
b.writeUTF(this.name);
b.writeShort(this.role);
b.writeShort(this.tong);
b.writeShort(this.yong);
b.writeShort(this.zhi);
b.writeShort(this.status);
b.writeShort(this.avatar);
b.writeShort(this.story);
b.writeShort(this.official);
b.writeUTF(this.familyName);
b.writeUTF(this.secondName);
b.writeUTF(this.thirdName);
b.writeUTF(this.nickName);
}
@Override public void unpack(ByteArray b) throws IOException {
super.unpack(b);
this.id = b.readInt();
this.name = b.readUTF();
this.role = b.readShort();
this.tong = b.readShort();
this.yong = b.readShort();
this.zhi = b.readShort();
this.status = b.readShort();
this.avatar = b.readShort();
this.story = b.readShort();
this.official = b.readShort();
this.familyName = b.readUTF();
this.secondName = b.readUTF();
this.thirdName = b.readUTF();
this.nickName = b.readUTF();
}
}
